package com.qidian.by.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.by.pojo.ContentCategory;
import com.qidian.by.util.pojo.EsResult;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小可怎么都睡不够
 * @since 2024-05-06
 */
public interface IContentCategoryService extends IService<ContentCategory> {

    EsResult saveCategory(ContentCategory contentCategory);
    EsResult recover(ContentCategory contentCategory);
    EsResult queryAll();

    EsResult queryByName(String name);

}
